<template>
  <view class="answerOneImage">
    <image class="img" :src="getFileUrl(imgs)" mode="widthFix"> </image>
  </view>
</template>

<script setup lang="ts">
import { getFileUrl } from "@/utils/util";

const props = defineProps({
  imgs: {
    type: String,
    default: "",
  },
});
</script>

<style lang="scss" scoped>
.answerOneImage {
  width: 100%;
  border-radius: 12rpx;
  margin-bottom: 24rpx;
  .img {
    border-radius: 12rpx;
    width: 100%;
    max-height: 320rpx;
  }
}
</style>
